package Class.Advance.Interface.Test;

public class Dog extends Animal implements Swing{
    public Dog() {
    }

    public Dog(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat(){
        System.out.println("吃骨头");
    }

    @Override
    public void swing(){
        System.out.println("狗刨");
    }
}
